#ifndef __EFFECTMANAGER_H__
#define __EFFECTMANAGER_H__
/////////////////
//include
/////////////////
#include"Effect.h"
#include"Manager.h"
/////////////////
//const
/////////////////

/////////////////
//class
/////////////////

class EffectManager : public Manager<Effect>
{
public:
	EffectManager(int max_effect_num = 0,Camera* camera = NULL,SpriteDrawer* sd = NULL);
	~EffectManager();
	void Init();
	void ContentLoad(Device* device);
	void UpdateFunc(Effect* type) ;
	void DrawFunc(DeviceContext* device_context, Effect* type) ;
	void SetFunc(Effect* object,int model_index);
	bool DeleteFunc(Effect* object);
	void SetAnimation(std::string name,float width,float height);
	Array<Animation*> anims;
	Camera* camera;
	SpriteDrawer* sd;
	int tex_index;
	int max_effect_num;
};
#endif __EFFECTMANAGER_H__
